package net.cloudcodex.client.home.view;

import java.util.Date;

import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.i18n.client.Messages;
import com.google.gwt.user.client.ui.IsWidget;

/**
 * 
 * 
 * @author ADaroussin
 */
public interface HomeView extends IsWidget {

	public interface Message extends Messages {
		public String getHomeTabName();

		public String getCampaignsTitle();

		public String getStartedOn();

		public String getPlayers();

		public String getSeeMore();

		public String getHaveResponded();

		public String getHasReplied();

		public String getCharactersTitle();

		public String getMessagesTitle();

		public String getNoMessages();

		public String getAddCampaignButton();
	}

	public void initHomePage();

	public void clearHomePage();

	public void addNotifications(String message, Date dateNotif);

	public void addNickName(String nickname);

	public IsWidget getParent();

	public void initView();

	void addChararacterView(HomeCharacterView listCharacterView);

	void addCampaignView(HomeCampaignView listCampaignView);

	public HasClickHandlers getAddCampaignButton();

	// ----------------- Partie non encore implement�e ------------------
	// public void addInscriptions(List<CampaignRegistrationDTO> inscriptions);
	//
	// public void addInvitations(List<CampaignInvitationDTO> invitations);
	// -------------------------------------------------------------------

}
